$(document).ready(function() {

	//$('#leftnavmenu li a').corner('right');
	$('#container').css({border: "3px solid black"});//.dropShadow();
	$('#top').css("margin-top","-1px");//.corner('top');
	$('#sMessage');//.dropShadow();
	$('#innercontent').css({backgroundColor: "#EAEAEA"}).corner();
	
});

$(window).resize(function(){
	//does nothing
	//redrawShadows();
});

$(function() {
	$(".ajax-fc-container").captcha({formId: "getname"});
});

function redrawShadows(){
//$('#container').redrawShadow();
//$('#sMessage').redrawShadow();
//$('#innercontent').redrawShadow();
}



$.fn.exists = function () {
				return $(this).length !== 0;
			}
			
jQuery.extend(jQuery.validator.messages, {
	 required: "<span style='color: red'>*</span>",
	 remote: "Please fix this field.",
	 email: "Please enter a valid email address.",
	 url: "Please enter a valid URL.",
	 date: "Please enter a valid date.",
	 dateISO: "Please enter a valid date (ISO).",
	 number: "Please enter a valid number.",
	 digits: "Please enter only digits.",
	 creditcard: "Please enter a valid credit card number.",
	 equalTo: "Please enter the same value again.",
	 accept: "Please enter a value with a valid extension.",
	 maxlength: jQuery.validator.format("<br/>Too many characters in the box above!"),
	 minlength: jQuery.validator.format("Please enter at least {0} characters."),
	 rangelength: jQuery.validator.format("Please enter a value between {0} and {1} characters long."),
	 range: jQuery.validator.format("Please enter a value between {0} and {1}."),
	 max: jQuery.validator.format("Please enter a value less than or equal to {0}."),
	 min: jQuery.validator.format("Please enter a value greater than or equal to {0}.")
});
